package com.baizhi.shane.constant;

/**
 * 系统有关常量
 *
 * @author 闻柏智
 * @date 2023/03/27 23:28:59
 */
public class SysMapping {
    public static final String TOKEN = "Shane-Token";
    // 操作成功提示词
    public static final String SUCCESS_STRING = "操作成功";
    // 操作失败提示词
    public static final String FAIL_STRING = "操作失败";

    public static final String INSERT_SUCCESS = "保存成功";

    public static final String INSERT_FAIL = "保存失败";
    public static final String CLASS_PATH = "classpath:";
    public static final String ELLIPSIS = "......";
    public static final String COMMA = ",";
    public static final String LIKES_SUCCESS = "点赞成功";
    public static final String LIKES_FAIL = "点赞失败";
    public static final String LIKES_CANCEL_SUCCESS = "取消点赞成功";
    public static final String LIKES_CANCEL_FAIL = "取消点赞失败";
    public static final String COLLECT_SUCCESS = "收藏成功";
    public static final String COLLECT_FAIL = "收藏失败";
    public static final String COLLECT_CANCEL_SUCCESS = "取消收藏成功";
    public static final String COLLECT_CANCEL_FAIL = "取消收藏失败";
    public static final String AGAINST_SUCCESS = "反对成功";
    public static final String AGAINST_FAIL = "反对失败";
    public static final String AGAINST_CANCEL_SUCCESS = "取消反对成功";
    public static final String AGAINST_CANCEL_FAIL = "取消反对失败";
    public static final String UPLOAD_IMAGE_FAIL = "上传图片失败";
    public static final String IMAGE_CANT_NULL = "图片不能为空";
    public static final String LOGIN_OUT_SUCCESS = "退出登录成功";
    public static final String UPDATE_USERNAME_SUCCESS = "用户名修改成功";
    public static final String UPDATE_USERNAME_FAIL = "用户名修改失败";
    public static final String UPDATE_PASSWORD_SUCCESS = "修改密码成功";
    public static final String UPDATE_PASSWORD_FAIL = "修改密码失败";
    public static final String NUMBER_1 = "1";
    public static final String NUMBER_0 = "0";
    public static final String SHANE_ADMIN = "shane_admin";
    public static final String SLASH = "/";
    public static final String CHANGE_SUCCESS = "修改成功";
    public static final String CHANGE_FAIL = "修改失败";
    public static final String HAS_ADMIN_ROLE = "您具有管理员权限";
    public static final String NOT_HAS_ADMIN_ROLE = "您不具有管理员权限";
    public static final String DELETE_REL_SUCCESS = "解除关联成功";
    public static final String DELETE_REL_FAIL = "解除关联失败";
    public static final String INSERT_REL_SUCCESS = "关联成功";
    public static final String INSERT_REL_FAIL = "关联失败";
    public static final String DIVISION_TREE = "divisionTree";
    public static final String INSERT_COMMENT_SUCCESS = "添加评论成功";
    public static final String INSERT_COMMENT_FAIL = "添加问题失败";
    public static final String INSERT_QUESTION_SUCCESS = "添加问题成功";
    public static final String INSERT_QUESTION_FAIL = "添加问题失败";
    public static final String INSERT_ANSWER_SUCCESS = "添加回答成功";
    public static final String INSERT_ANSWER_FAIL = "添加回答失败";
    public static final String INSERT_ESSAY_SUCCESS = "添加文章成功";
    public static final String INSERT_ESSAY_FAIL = "添加文章失败";
    public static final Integer STATUS_DRAFT = 1; // 草稿状态
    public static final Integer STATUS_PUBLISHED = 2; // 正式状态
    public static final Long NOT_DISPLAY_COMMENT_TREE = 0L; // 不显示评论树

}
